package bibbletex.models;

/**
 * Intermediate class to assign the form data and create a model from
 * 
 * @author Diego Barrios Romero
 *
 */
public class RequestCollaboration {
	String title, description, creator_name, email;
	public boolean public_library;
	public String[] emails;
	
	public boolean[] private_accesses;

	public RequestCollaboration() {
		emails = new String[10];
		private_accesses = new boolean[10];
	}

	public boolean getPrivate1() {
		return private_accesses[0];
	}

	public void setPrivate1(boolean private1) {
		this.private_accesses[0] = private1;
	}

	public boolean getPrivate2() {
		return private_accesses[1];
	}

	public void setPrivate2(boolean private2) {
		this.private_accesses[1] = private2;
	}

	public boolean getPrivate3() {
		return private_accesses[2];
	}

	public void setPrivate3(boolean private3) {
		this.private_accesses[2] = private3;
	}

	public boolean getPrivate4() {
		return private_accesses[3];
	}

	public void setPrivate4(boolean private4) {
		this.private_accesses[3] = private4;
	}

	public boolean getPrivate5() {
		return private_accesses[4];
	}

	public void setPrivate5(boolean private5) {
		this.private_accesses[4] = private5;
	}

	public boolean getPrivate6() {
		return private_accesses[5];
	}

	public void setPrivate6(boolean private6) {
		this.private_accesses[5] = private6;
	}

	public boolean getPrivate7() {
		return private_accesses[6];
	}

	public void setPrivate7(boolean private7) {
		this.private_accesses[6] = private7;
	}

	public boolean getPrivate8() {
		return private_accesses[7];
	}

	public void setPrivate8(boolean private8) {
		this.private_accesses[7] = private8;
	}

	public boolean getPrivate9() {
		return private_accesses[8];
	}

	public void setPrivate9(boolean private9) {
		this.private_accesses[8] = private9;
	}

	public boolean getPrivate10() {
		return private_accesses[9];
	}

	public void setPrivate10(boolean private10) {
		this.private_accesses[9] = private10;
	}

	public String getEmail1() {
		return emails[0];
	}

	public void setEmail1(String email1) {
		this.emails[0] = new String(email1);
	}

	public String getEmail2() {
		return emails[1];
	}

	public void setEmail2(String email2) {
		this.emails[1] = new String(email2);
	}

	public String getEmail3() {
		return emails[2];
	}

	public void setEmail3(String email3) {
		this.emails[2] = new String(email3);
	}

	public String getEmail4() {
		return emails[3];
	}

	public void setEmail4(String email4) {
		this.emails[3] = new String(email4);
	}

	public String getEmail5() {
		return emails[4];
	}

	public void setEmail5(String email5) {
		this.emails[4] = new String(email5);
	}

	public String getEmail6() {
		return emails[6];
	}

	public void setEmail6(String email6) {
		this.emails[6] = new String(email6);
	}

	public String getEmail7() {
		return emails[7];
	}

	public void setEmail7(String email7) {
		this.emails[7] = new String(email7);
	}

	public String getEmail8() {
		return emails[8];
	}

	public void setEmail8(String email8) {
		this.emails[8] = new String(email8);
	}

	public String getEmail9() {
		return emails[9];
	}

	public void setEmail9(String email9) {
		this.emails[9] = new String(email9);
	}

	public String getEmail10() {
		return emails[10];
	}

	public void setEmail10(String email10) {
		this.emails[10] = new String(email10);
	}
	
	public String getTitle() {
		return title;
	}

	public void setTitle(String title_) {
		title = new String(title_);
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description_) {
		description = new String(description_);
	}

	public String getCreator_name() {
		return creator_name;
	}

	public void setCreator_name(String creator_name_) {
		creator_name = new String(creator_name_);
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email_) {
		email = new String(email_);
	}
	
	public boolean getPublic_library() {
		return public_library;
	}

	public void setPublic_library(boolean public_library) {
		this.public_library = public_library;
	}
}
